<!DOCTYPE html>
<html lang="en-US">
    <head>
        <title>dprofpp - display perl profile data - metacpan.org</title>
        <link rel="preload" as="fetch" href="https://metacpan.org/account/login_status" crossorigin="anonymous" />
        <link href="https://metacpan.org/_assets/b8ccceeed47a0652049703d99326a9cea4933443.css" rel="stylesheet" type="text/css">
        <script src="https://metacpan.org/_assets/6bfedafe2d7caa915b7d84f61b45936818e3242e.js" type="text/javascript" defer></script>
        <link rel="alternate" type="application/rss+xml" title="Recent CPAN Uploads of Devel-DProf - MetaCPAN" href="https://metacpan.org/dist/Devel-DProf/releases.rss" />
        <link rel="canonical" href="https://metacpan.org/dist/Devel-DProf/view/bin/dprofpp" />
        <meta name="description" content="display perl profile data" />
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
        <link rel="shortcut icon" href="https://metacpan.org/static/icons/favicon.ico">
        <link rel="apple-touch-icon" sizes="152x152" href="https://metacpan.org/static/icons/apple-touch-icon.png">
        <link rel="search" href="https://metacpan.org/static/opensearch.xml" type="application/opensearchdescription+xml" title="MetaCPAN">
        <script>
          (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
          (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
          m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
          })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

          (function(skey, ga_id){
            ga('create', ga_id, {
              siteSpeedSampleRate : 100,
              storage             : 'none',
              clientId            : localStorage.getItem(skey)
            });
            ga(function(tracker) {
              localStorage.setItem(skey, tracker.get('clientId'));
            });
            ga('send', 'pageview');
          })('ga:clientId', 'UA-27829474-1');
        </script>
<meta name="twitter:card"        content="summary" />
<meta name="twitter:url"         content="https://metacpan.org/pod/dprofpp" />
<meta name="twitter:title"       content="dprofpp" />
<meta name="twitter:description" content="display perl profile data" />
<meta name="twitter:site"        content="metacpan" />
    </head>
    <body>
        <nav class="navbar navbar-default" role="navigation">
            <div class="header-logo-large hidden-xs">
              <a href="https://metacpan.org/" tabindex="0">
                <svg class="logo" aria-label="MetaCPAN">
                  <use class="logo" href="/static/images/metacpan-logo.svg#logo" />
                </svg>
              </a>
            </div>
            <div class="header-logo-icon visible-xs">
              <a href="https://metacpan.org/">
                <svg class="logo" aria-label="MetaCPAN">
                  <use class="logo" href="/static/images/metacpan-logo.svg#dots" />
                </svg>
              </a>
            </div>
            <ul class="nav navbar-nav menu-items hidden-xs hidden-sm">
              <li><a href="https://metacpan.org/about">About</a></li>
              <li><a href="https://metacpan.org/about/sponsors">Sponsor</a></li>
              <li><a href="https://grep.metacpan.org/">grep::cpan</a></li>
              <li><a href="https://metacpan.org/recent">Recent</a></li>
              <li><a href="https://metacpan.org/about/faq">FAQ</a></li>
              <li><a href="https://metacpan.org/tools">Tools</a></li>
              <li><a href="https://fastapi.metacpan.org/">API</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <button type="button" class="searchbar-btn visible-xs visible-sm">
                    <i class="fa fa-search button-fa-icon"></i>
                </button>
                <form action="https://metacpan.org/search" class="searchbar-form visible-md visible-lg search-form form-horizontal">
                   <input type="hidden" name="size" id="metacpan_search-size" value="20">
                  <div class="form-group">
                      <div class="search-group">
                        <i class="fa fa-search"></i>
                        <input type="text" name="q" placeholder="Search the CPAN" size="41" autocorrect="off" autocapitalize="off" spellcheck="false" id="metacpan_search-input" class="form-control" value="">
                      </div>
                  </div>
                </form>
                    <li class="icon-slidepanel visible-xs visible-sm">
                      <button data-toggle="slidepanel" data-target=".slidepanel">
                        <span class="button-fa-icon">
                          <i class="fa fa-bars slidepanel-open"></i>
                          <i class="fa fa-times slidepanel-close"></i>
                        </span>
                      </button>
                    </li>
                <form action="https://metacpan.org/account/logout" method="POST" id="metacpan-logout"></form>
                <li class="dropdown logged_in" style="display: none;">
                    <button type="button" class="dropdown-toggle" data-toggle="dropdown">
                      <i class="fa fa-user button-fa-icon logged-in-icon" aria-hidden="true"></i>
                      <i class="fas fa-chevron-down"></i>
                    </button>
                    <ul class="dropdown-menu">
                        <li><a href="https://metacpan.org/account/identities">Identities</a></li>
                        <li><a href="https://metacpan.org/account/profile">Profile</a></li>
                        <li><a href="https://metacpan.org/account/favorite/list">Favorites</a></li>
                        <li>
                            <a href="dprofpp.html#" type="button" onclick="$('#metacpan-logout').submit(); return false">
                              Logout
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="dropdown logged_out" style="display: none;">
                    <button type="button" class="dropdown-toggle" data-toggle="dropdown">
                      <i class="fa fa-user button-fa-icon" aria-hidden="true"></i>
                      <i class="fas fa-chevron-down"></i>
                    </button>
                    <ul class="dropdown-menu">
                        <li>
                            <a href="https://metacpan.org/login/github">
                                <i class="fab fa-github fa-fw"></i>
                                GitHub
                            </a>
                        </li>
                        <li>
                            <a href="https://metacpan.org/login/twitter">
                                <i class="fab fa-twitter fa-fw"></i>
                                Twitter
                            </a>
                        </li>
                        <li>
                            <a href="https://metacpan.org/login/google">
                                <i class="fab fa-google fa-fw"></i>
                                Google
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="dropdown logged_placeholder">
                    <button>
                      <i class="fa fa-user button-fa-icon" aria-hidden="true"></i>
                    </button>
                </li>
            </ul>
        </nav>
        <div class="page-content ">
          <!--
          <div class="top-notify-banner">
            <i class="fas fa-info-circle"></i>
          </div>
          -->
          <nav class="sidebar">
            <div class="slidepanel">
              <ul class="nav-list ">
    <li class="nav-header no-margin-top">
      <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The date that this version of Devel-DProf was released.">
      <span class="relatize">02 Aug 2011 13:30:00 UTC</span>
    </li>
  <li>
    Distribution: <a href="https://metacpan.org/dist/Devel-DProf">Devel-DProf</a>
  </li>
  <li>
    <a data-keyboard-shortcut="g s" href="https://metacpan.org/dist/Devel-DProf/source/bin/dprofpp">Source</a>
    (<a href="https://metacpan.org/dist/Devel-DProf/source/bin/dprofpp?raw=1">raw</a>)
  </li>
  <li>
    <a data-keyboard-shortcut="g b" href="https://metacpan.org/dist/Devel-DProf/source/bin">Browse</a>
    (<a href="https://metacpan.org/dist/Devel-DProf/source/bin?raw=1">raw</a>)
  </li>
    <li>
      <a data-keyboard-shortcut="g c" href="https://metacpan.org/dist/Devel-DProf/changes">Changes</a>
    </li>
    <li>
      <a rel="noopener nofollow" class="nopopup" href="http://search.cpan.org/dist/Devel-DProf">Homepage</a>
    </li>
    <li>
      <a class="nopopup" href="https://metacpan.org/dist/Devel-DProf/contribute">How to Contribute</a>
    </li>
    <li>
        <a rel="noopener nofollow" data-keyboard-shortcut="g r" href="https://github.com/rafl/devel-dprof">Repository</a>
    </li>
    <li>
      <a rel="noopener nofollow" data-keyboard-shortcut="g i" href="http://rt.cpan.org/Public/Dist/Display.html?Name=Devel-DProf">Issues</a>
      (8)
    </li>
    <li>
      <a rel="noopener nofollow" href="http://matrix.cpantesters.org/?dist=Devel-DProf+20110802.00" title="Matrix">Testers</a>
        <span title="(pass / fail / na)">(<a rel="noopener nofollow" href="https://www.cpantesters.org/distro/D/Devel-DProf.html?oncpan=1&amp;distmat=1&amp;version=20110802.00&amp;grade=2" style="color: #090">0</a> / <a rel="noopener nofollow" href="https://www.cpantesters.org/distro/D/Devel-DProf.html?oncpan=1&amp;distmat=1&amp;version=20110802.00&amp;grade=3" style="color: #900">1</a> / <a rel="noopener nofollow" href="https://www.cpantesters.org/distro/D/Devel-DProf.html?oncpan=1&amp;distmat=1&amp;version=20110802.00&amp;grade=4">0</a>)</span>
    </li>
    <li>
      <a rel="noopener nofollow" href="http://cpants.cpanauthors.org/release/FLORA/Devel-DProf-20110802.00">Kwalitee</a>
    </li>
    <li>
      <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The # people with an indexing permission on Devel-DProf who have released something to CPAN in the last 2 years (i.e. the # people likely able to release critical fixes in a timely manner)">
      Bus factor: 2
      </div>
    </li>
    <li>
      <a rel="noopener nofollow" href="http://cpancover.com/latest/Devel-DProf-20110802.00/index.html">% Coverage </a>
    </li>
    <li>
      License: perl_5
    </li>
    <li class="nav-header">Activity</li>
    <li>
<div class="activity-graph">
    <img src="https://metacpan.org/dist/Devel-DProf/activity.svg?res=month" />
    <div class="comment">24 month</div>
</div>
    </li>
    <li class="nav-header">Tools</li>
    <li>
      <a itemprop="downloadUrl" href="https://cpan.metacpan.org/authors/id/F/FL/FLORA/Devel-DProf-20110802.00.tar.gz">
      Download (<span itemprop="fileSize">30.84KB</span>)</a>
    </li>
    <li>
      <a href="https://explorer.metacpan.org/?url=%2Fmodule%2FFLORA%2FDevel-DProf-20110802.00%2Fbin%2Fdprofpp">
        MetaCPAN Explorer
      </a>
    </li>
    <li>
      <a href="https://metacpan.org/dist/Devel-DProf/permissions">
        Permissions
      </a>
    </li>
    <li>
      <a href="https://metacpan.org/dist/Devel-DProf/releases.rss">
        Subscribe to distribution
      </a>
    </li>
    <li>
      <button class="btn btn-link" data-toggle="modal" data-target="#metacpan_install-instructions-dialog">
        Install Instructions
      </button>
    </li>
    <li>
      <form action="https://metacpan.org/search">
        <input type="hidden" name="q" value="dist:Devel-DProf">
        <input type="search" name="q" placeholder="Search distribution" class="form-control tool-bar-form">
        <input type="submit" style="display: none">
      </form>
    </li>
    <li>
      <form action="https://grep.metacpan.org/search">
        <input type="hidden" name="qd" value="Devel-DProf">
        <input type="hidden" name="source" value="metacpan">
        <input type="search" name="q" placeholder="grep distribution" class="form-control tool-bar-form">
        <input type="submit" style="display: none">
     </form>
    </li>
    <li class="version-jump">
<select onchange="document.location.href=&#39;/release/&#39;+this.value+&#39;/view/bin/dprofpp&#39;" class="form-control tool-bar-form">
  <option disabled selected>Jump to version</option>
<option
  disabled
  value="FLORA/Devel-DProf-20110802.00"
>20110802.00
  (FLORA on 2011-08-02)</option>
<option
  
  value="FLORA/Devel-DProf-20110228.00"
>20110228.00
  (FLORA on 2011-02-28)</option>
<option
  
  value="FLORA/Devel-DProf-20110225.01"
>20110225.01
  (FLORA on 2011-02-25)</option>
<option
  
  value="FLORA/Devel-DProf-20110225.00"
>20110225.00
  (FLORA on 2011-02-25)</option>
<option
  
  value="JAW/Devel-DProf-20080628_01"
>20080628_01
  (JAW on 2008-10-19)</option>
</select>
    </li>
    <li class="version-diff">
<select onchange="document.location.href='/release/FLORA/Devel-DProf-20110802.00/diff/' + encodeURIComponent(this.value) + '/bin/dprofpp'
" class="form-control tool-bar-form">
  <option disabled selected>Diff with version</option>
<option
  disabled
  value="FLORA/Devel-DProf-20110802.00"
>20110802.00
  (FLORA on 2011-08-02)</option>
<option
  
  value="FLORA/Devel-DProf-20110228.00"
>20110228.00
  (FLORA on 2011-02-28)</option>
<option
  
  value="FLORA/Devel-DProf-20110225.01"
>20110225.01
  (FLORA on 2011-02-25)</option>
<option
  
  value="FLORA/Devel-DProf-20110225.00"
>20110225.00
  (FLORA on 2011-02-25)</option>
<option
  
  value="JAW/Devel-DProf-20080628_01"
>20080628_01
  (JAW on 2008-10-19)</option>
</select>
    </li>

    <li>
<ul class="dependencies">
  <li class="nav-header">Dependencies</li>
  <li><a href="https://metacpan.org/pod/XSLoader" title="XSLoader" class="ellipsis">XSLoader</a></li>
  <li>
    <hr>
  </li>
  <li>
    <a href="https://metacpan.org/module/dprofpp/requires">Reverse dependencies</a>
  </li>
  <li>
    <a href="http://deps.cpantesters.org/?module=dprofpp">CPAN Testers List</a>
  </li>
  <li>
    <a href="https://cpandeps.grinnz.com/?dist=Devel-DProf">Dependency graph</a>
  </li>
</ul>
    </li>
    <li class="nav-header">Permalinks</li>
    <li>
      <a href="https://metacpan.org/release/FLORA/Devel-DProf-20110802.00/view/bin/dprofpp">This version</a>
    </li>
    <li>
      <a href="https://metacpan.org/dist/Devel-DProf/view/bin/dprofpp">Latest version</a>
    </li>
    <li>
    </li>
    <li>
<div id="metacpan_contributors">
  <div>
    <button class="btn-link"
      onclick="$(this).hide(); $('#metacpan_contributors ul').slideDown(); return false;"
    >and 1 contributors</button>
  </div>
  <ul style="display: none">
    <li class="contributor"
    >
      The Perl 5 Porters
    </li>
  </ul>
</div>
    </li>
              </ul>
            </div>
          </nav>
          <div class="content-navigation">
<div class="breadcrumbs">
  <span>
    <a data-keyboard-shortcut="g a" rel="author" href="https://metacpan.org/author/FLORA" class="author-name">Florian Ragwitz</a>
  </span>
  <span>&nbsp;/&nbsp;</span>
  <div class="release dist-release status-latest maturity-released">
    <span class="dropdown"><b class="caret"></b></span>
<select onchange="document.location.href=&#39;/release/&#39;+this.value+&#39;/view/bin/dprofpp&#39;" class="">
<option
  selected
  value="FLORA/Devel-DProf-20110802.00"
>20110802.00
  (FLORA on 2011-08-02)</option>
<option
  
  value="FLORA/Devel-DProf-20110228.00"
>20110228.00
  (FLORA on 2011-02-28)</option>
<option
  
  value="FLORA/Devel-DProf-20110225.01"
>20110225.01
  (FLORA on 2011-02-25)</option>
<option
  
  value="FLORA/Devel-DProf-20110225.00"
>20110225.00
  (FLORA on 2011-02-25)</option>
<option
  
  value="JAW/Devel-DProf-20080628_01"
>20080628_01
  (JAW on 2008-10-19)</option>
</select>
    <a data-keyboard-shortcut="g d" class="release-name" href="https://metacpan.org/dist/Devel-DProf">Devel-DProf-20110802.00</a>
  </div>
<span class="river-gauge-gauge">
  <svg width="24px"
       height="15px"
       version="1.1"
       xmlns="http://www.w3.org/2000/svg"
       xmlns:xlink="http://www.w3.org/1999/xlink">

    <g>
      <title>        River stage one &#10;
          • 3 direct dependents &#10;          • 4 total dependents
      </title>

      <rect x="0"  y="0" width="4" height="15" fill="#7ea3f2" />
      <rect x="5"  y="0" width="4" height="15" fill="#e4e2e2" />
      <rect x="10"  y="0" width="4" height="15" fill="#e4e2e2" />
      <rect x="15"  y="0" width="4" height="15" fill="#e4e2e2" />
      <rect x="20"  y="0" width="4" height="15" fill="#e4e2e2" />
    </g>
  </svg>

</span>
<div id="Devel-DProf-fav" class="logged_in">
<form action="https://metacpan.org/account/favorite/add" style="display: inline" onsubmit="return favDistribution(this)">
    <input type="hidden" name="remove" value="0">
    <input type="hidden" name="release" value="Devel-DProf-20110802.00">
    <input type="hidden" name="author" value="FLORA">
    <input type="hidden" name="distribution" value="Devel-DProf">
    <button type="submit" class="favorite"><span></span> ++</button>
</form>
</div>
<div class="logged_out">
<a href="dprofpp.html" onclick="alert('Please sign in to add favorites'); return false" class="favorite">
<span></span> ++</a>
</div>
   / <span>dprofpp</span>
</div>
          </div>
          <main class="content">

<input id="DEPRECATED" type="checkbox" class="notification-toggle-checkbox" />
<div id="metacpan_notification" class="well collapsed notify-DEPRECATED">
    <label class="remove-notification" for="DEPRECATED" >
      <i class="fa fa-fw fa-times black"></i>
    </label>
    <div id="metacpan_notification-container">
      <h2>Deprecated.</h2>
      <div>
The maintainer of this distribution has indicated that it is deprecated and no longer suitable for use.
      </div>
  </div>
</div>

<nav class="toc">
  <div class="toc-header"><strong>Contents</strong></div>
<ul>
  <li><a href="dprofpp.html#NAME">NAME</a></li>
  <li><a href="dprofpp.html#SYNOPSIS">SYNOPSIS</a></li>
  <li><a href="dprofpp.html#DESCRIPTION">DESCRIPTION</a></li>
  <li><a href="dprofpp.html#OUTPUT">OUTPUT</a></li>
  <li><a href="dprofpp.html#OPTIONS">OPTIONS</a></li>
  <li><a href="dprofpp.html#ENVIRONMENT">ENVIRONMENT</a></li>
  <li><a href="dprofpp.html#BUGS">BUGS</a></li>
  <li><a href="dprofpp.html#FILES">FILES</a></li>
  <li><a href="dprofpp.html#SEE-ALSO">SEE ALSO</a></li>
</ul></nav>
<div class="pod anchors">
<h1 id="NAME">NAME</h1>

<p>dprofpp - display perl profile data</p>

<h1 id="SYNOPSIS">SYNOPSIS</h1>

<p>dprofpp [<b>-a</b>|<b>-z</b>|<b>-l</b>|<b>-v</b>|<b>-U</b>] [<b>-d</b>] [<b>-s</b>|<b>-r</b>|<b>-u</b>] [<b>-q</b>] [<b>-F</b>] [<b>-I|-E</b>] [<b>-O cnt</b>] [<b>-A</b>] [<b>-R</b>] [<b>-S</b>] [<b>-g subroutine</b>] [<b>-G</b> &lt;regexp&gt; [<b>-P</b>]] [<b>-f</b> &lt;regexp&gt;] [profile]</p>

<p>dprofpp <b>-T</b> [<b>-F</b>] [<b>-g subroutine</b>] [profile]</p>

<p>dprofpp <b>-t</b> [<b>-F</b>] [<b>-g subroutine</b>] [profile]</p>

<p>dprofpp <b>-G</b> &lt;regexp&gt; [<b>-P</b>] [profile]</p>

<p>dprofpp <b>-p script</b> [<b>-Q</b>] [other opts]</p>

<p>dprofpp <b>-V</b> [profile]</p>

<h1 id="DESCRIPTION">DESCRIPTION</h1>

<p>The <i>dprofpp</i> command interprets profile data produced by a profiler, such as the Devel::DProf profiler. Dprofpp will read the file <i>tmon.out</i> and display the 15 subroutines which are using the most time. By default the times for each subroutine are given exclusive of the times of their child subroutines.</p>

<p>To profile a Perl script run the perl interpreter with the <b>-d</b> switch. So to profile script <i>test.pl</i> with Devel::DProf use the following:</p>

<pre><code>        $ perl5 -d:DProf test.pl</code></pre>

<p>Then run dprofpp to analyze the profile. The output of dprofpp depends on the flags to the program and the version of Perl you&#39;re using.</p>

<pre><code>        $ dprofpp -u
        Total Elapsed Time =    1.67 Seconds
                 User Time =    0.61 Seconds
        Exclusive Times
        %Time Seconds     #Calls sec/call Name
         52.4   0.320          2   0.1600 main::foo
         45.9   0.280        200   0.0014 main::bar
         0.00   0.000          1   0.0000 DynaLoader::import
         0.00   0.000          1   0.0000 main::baz</code></pre>

<p>The dprofpp tool can also run the profiler before analyzing the profile data. The above two commands can be executed with one dprofpp command.</p>

<pre><code>        $ dprofpp -u -p test.pl</code></pre>

<p>Consult <a href="./Devel::DProf.html#PROFILE-FORMAT">&quot;PROFILE FORMAT&quot; in Devel::DProf</a> for a description of the raw profile.</p>

<h1 id="OUTPUT">OUTPUT</h1>

<p>Columns are:</p>

<dl>

<dt id="%Time"><a id="Time"></a>%Time</dt>
<dd>

<p>Percentage of time spent in this routine.</p>

</dd>
<dt id="#Calls"><a id="Calls"></a>#Calls</dt>
<dd>

<p>Number of calls to this routine.</p>

</dd>
<dt id="sec/call"><a id="sec"></a><a id="sec-call"></a>sec/call</dt>
<dd>

<p>Average number of seconds per call to this routine.</p>

</dd>
<dt id="Name">Name</dt>
<dd>

<p>Name of routine.</p>

</dd>
<dt id="CumulS">CumulS</dt>
<dd>

<p>Time (in seconds) spent in this routine and routines called from it.</p>

</dd>
<dt id="ExclSec">ExclSec</dt>
<dd>

<p>Time (in seconds) spent in this routine (not including those called from it).</p>

</dd>
<dt id="Csec/c"><a id="Csec"></a><a id="Csec-c"></a>Csec/c</dt>
<dd>

<p>Average time (in seconds) spent in each call of this routine (including those called from it).</p>

</dd>
</dl>

<h1 id="OPTIONS">OPTIONS</h1>

<dl>

<dt id="-a"><a id="a"></a><b>-a</b></dt>
<dd>

<p>Sort alphabetically by subroutine names.</p>

</dd>
<dt id="-d"><a id="d"></a><b>-d</b></dt>
<dd>

<p>Reverse whatever sort is used</p>

</dd>
<dt id="-A"><a id="A"></a><b>-A</b></dt>
<dd>

<p>Count timing for autoloaded subroutine as timing for <code>*::AUTOLOAD</code>. Otherwise the time to autoload it is counted as time of the subroutine itself (there is no way to separate autoload time from run time).</p>

<p>This is going to be irrelevant with newer Perls. They will inform <code>Devel::DProf</code> <i>when</i> the <code>AUTOLOAD</code> switches to actual subroutine, so a separate statistics for <code>AUTOLOAD</code> will be collected no matter whether this option is set.</p>

</dd>
<dt id="-R"><a id="R"></a><b>-R</b></dt>
<dd>

<p>Count anonymous subroutines defined in the same package separately.</p>

</dd>
<dt id="-E"><a id="E"></a><b>-E</b></dt>
<dd>

<p>(default) Display all subroutine times exclusive of child subroutine times.</p>

</dd>
<dt id="-F"><a id="F"></a><b>-F</b></dt>
<dd>

<p>Force the generation of fake exit timestamps if dprofpp reports that the profile is garbled. This is only useful if dprofpp determines that the profile is garbled due to missing exit timestamps. You&#39;re on your own if you do this. Consult the BUGS section.</p>

</dd>
<dt id="-I"><a id="I"></a><b>-I</b></dt>
<dd>

<p>Display all subroutine times inclusive of child subroutine times.</p>

</dd>
<dt id="-l"><a id="l"></a><b>-l</b></dt>
<dd>

<p>Sort by number of calls to the subroutines. This may help identify candidates for inlining.</p>

</dd>
<dt id="-O-cnt"><a id="O-cnt"></a><b>-O cnt</b></dt>
<dd>

<p>Show only <i>cnt</i> subroutines. The default is 15.</p>

</dd>
<dt id="-p-script"><a id="p-script"></a><b>-p script</b></dt>
<dd>

<p>Tells dprofpp that it should profile the given script and then interpret its profile data. See <b>-Q</b>.</p>

</dd>
<dt id="-Q"><a id="Q"></a><b>-Q</b></dt>
<dd>

<p>Used with <b>-p</b> to tell dprofpp to quit after profiling the script, without interpreting the data.</p>

</dd>
<dt id="-q"><a id="q"></a><b>-q</b></dt>
<dd>

<p>Do not display column headers.</p>

</dd>
<dt id="-r"><a id="r"></a><b>-r</b></dt>
<dd>

<p>Display elapsed real times rather than user+system times.</p>

</dd>
<dt id="-s"><a id="s"></a><b>-s</b></dt>
<dd>

<p>Display system times rather than user+system times.</p>

</dd>
<dt id="-T"><a id="T"></a><b>-T</b></dt>
<dd>

<p>Display subroutine call tree to stdout. Subroutine statistics are not displayed.</p>

</dd>
<dt id="-t"><a id="t"></a><b>-t</b></dt>
<dd>

<p>Display subroutine call tree to stdout. Subroutine statistics are not displayed. When a function is called multiple consecutive times at the same calling level then it is displayed once with a repeat count.</p>

</dd>
<dt id="-S"><a id="S"></a><b>-S</b></dt>
<dd>

<p>Display <i>merged</i> subroutine call tree to stdout. Statistics are displayed for each branch of the tree.</p>

<p>When a function is called multiple (<i>not necessarily consecutive</i>) times in the same branch then all these calls go into one branch of the next level. A repeat count is output together with combined inclusive, exclusive and kids time.</p>

<p>Branches are sorted with regard to inclusive time.</p>

</dd>
<dt id="-U"><a id="U"></a><b>-U</b></dt>
<dd>

<p>Do not sort. Display in the order found in the raw profile.</p>

</dd>
<dt id="-u"><a id="u"></a><b>-u</b></dt>
<dd>

<p>Display user times rather than user+system times.</p>

</dd>
<dt id="-V"><a id="V"></a><b>-V</b></dt>
<dd>

<p>Print dprofpp&#39;s version number and exit. If a raw profile is found then its XS_VERSION variable will be displayed, too.</p>

</dd>
<dt id="-v"><a id="v"></a><b>-v</b></dt>
<dd>

<p>Sort by average time spent in subroutines during each call. This may help identify candidates for inlining.</p>

</dd>
<dt id="-z"><a id="z"></a><b>-z</b></dt>
<dd>

<p>(default) Sort by amount of user+system time used. The first few lines should show you which subroutines are using the most time.</p>

</dd>
<dt id="-g-subroutine"><a id="g-subroutine"></a><b>-g</b> <code>subroutine</code></dt>
<dd>

<p>Ignore subroutines except <code>subroutine</code> and whatever is called from it.</p>

</dd>
<dt id="-G-&lt;regexp&gt;"><a id="G--regexp"></a><b>-G</b> &lt;regexp&gt;</dt>
<dd>

<p>Aggregate &quot;Group&quot; all calls matching the pattern together. For example this can be used to group all calls of a set of packages</p>

<pre><code>  -G &quot;(package1::)|(package2::)|(package3::)&quot;</code></pre>

<p>or to group subroutines by name:</p>

<pre><code>  -G &quot;getNum&quot;</code></pre>

</dd>
<dt id="-P"><a id="P"></a><b>-P</b></dt>
<dd>

<p>Used with -G to aggregate &quot;Pull&quot; together all calls that did not match -G.</p>

</dd>
<dt id="-f-&lt;regexp&gt;"><a id="f--regexp"></a><b>-f</b> &lt;regexp&gt;</dt>
<dd>

<p>Filter all calls matching the pattern.</p>

</dd>
<dt id="-h"><a id="h"></a><b>-h</b></dt>
<dd>

<p>Display brief help and exit.</p>

</dd>
<dt id="-H"><a id="H"></a><b>-H</b></dt>
<dd>

<p>Display long help and exit.</p>

</dd>
</dl>

<h1 id="ENVIRONMENT">ENVIRONMENT</h1>

<p>The environment variable <b>DPROFPP_OPTS</b> can be set to a string containing options for dprofpp. You might use this if you prefer <b>-I</b> over <b>-E</b> or if you want <b>-F</b> on all the time.</p>

<p>This was added fairly lazily, so there are some undesirable side effects. Options on the commandline should override options in DPROFPP_OPTS--but don&#39;t count on that in this version.</p>

<h1 id="BUGS">BUGS</h1>

<p>Applications which call _exit() or exec() from within a subroutine will leave an incomplete profile. See the <b>-F</b> option.</p>

<p>Any bugs in Devel::DProf, or any profiler generating the profile data, could be visible here. See <a href="./Devel::DProf.html#BUGS">&quot;BUGS&quot; in Devel::DProf</a>.</p>

<p>Mail bug reports and feature requests to the perl5-porters mailing list at <i>&lt;perl5-porters@perl.org&gt;</i>. Bug reports should include the output of the <b>-V</b> option.</p>

<h1 id="FILES">FILES</h1>

<pre><code>        dprofpp         - profile processor
        tmon.out        - raw profile</code></pre>

<h1 id="SEE-ALSO"><a id="SEE"></a>SEE ALSO</h1>

<p><a href="https://metacpan.org/pod/perl">perl</a>, <a href="./Devel::DProf.html">Devel::DProf</a>, times(2)</p></div>

<div id="metacpan_install-instructions-dialog" class="modal fade">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title">Module Install Instructions</h4>
      </div>
      <div class="modal-body">
        <p>To install Devel::DProf, copy and paste the appropriate command in to your terminal.</p>
        <p><a href="https://metacpan.org/dist/App-cpanminus/view/bin/cpanm">cpanm</a></p>
        <pre><code>cpanm Devel::DProf</code></pre>
        <p><a href="https://metacpan.org/pod/CPAN">CPAN shell</a></p>
        <pre><code>perl -MCPAN -e shell
install Devel::DProf</code></pre>
        <p>For more information on module installation, please visit <a href="https://www.cpan.org/modules/INSTALL.html">the detailed CPAN module installation guide</a>.</p>
      </div>
      <div class="modal-footer">
        <a href="dprofpp.html#" data-dismiss="modal" class="btn">Close</a>
      </div>
    </div>
  </div>
</div>
          </main>
          <div class="content-pagination">
          </div>
        </div>
        <footer class="footer">
          <div class="footer-container">
            <div class="footer-social">
              <div class="footer-link footer-logo">
                <a href="https://metacpan.org/">
                  <img src="https://metacpan.org/static/images/metacpan-logo.svg" alt="MetaCPAN" />
                </a>
              </div>
              <a class="footer-social-link" href="https://github.com/metacpan">
                <i class="fab fa-github-square"></i>
              </a>
              <a class="footer-social-link" href="https://fosstodon.org/@metacpan">
                <i class="fab fa-mastodon"></i>
              </a>
            </div>
            <div class="footer-links">
              <div class="footer-link">
                  <a href="https://metacpan.org/about">About</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/about/sponsors">Sponsor</a>
              </div>
              <div class="footer-link">
                  <a href="https://grep.metacpan.org">grep::cpan</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/recent">Recent</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/about/faq">FAQ</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/tools">Tools</a>
              </div>
              <div class="footer-link">
                  <a href="https://fastapi.metacpan.org/">API</a>
              </div>
              <div class="footer-link">
                  <a href="https://www.perl.org/">Perl.org</a>
              </div>
            </div>
            <div class="footer-sponsors">
              <a class="footer-sponsor-link" target="_blank" href="https://www.bytemark.co.uk/" rel="noopener">
                <img class="footer-sponsor-bytemark" src="https://metacpan.org/static/images/sponsors/bytemark_logo.svg" alt="Bytemark logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://www.liquidweb.com/" rel="noopener">
                <img class="footer-sponsor-liquidweb" src="https://metacpan.org/static/images/sponsors/liquidweb_logo.png" alt="liquidweb logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://deriv.com/careers/" rel="noopener">
                <img class="footer-sponsor-deriv" src="https://metacpan.org/static/images/sponsors/deriv.svg" alt="Deriv logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://geocode.xyz" rel="noopener">
                <img class="footer-sponsor-geocode" src="https://metacpan.org/static/images/sponsors/geocodelogo.svg" alt="Geocode logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://www.fastly.com/" rel="noopener">
                <img class="footer-sponsor-fastly" src="https://metacpan.org/static/images/sponsors/fastly_logo.svg" alt="Fastly logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://opencagedata.com" rel="noopener">
                <img class="footer-sponsor-opencage" src="https://metacpan.org/static/images/sponsors/open-cage.svg" alt="OpenCage logo">
              </a>
            </div>
          </div>
        </footer>
        <div class="modal fade" tabindex="-1" role="dialog" id="metacpan_keyboard-shortcuts">
          <div class="modal-dialog">
            <div class="modal-content">
              <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">Keyboard Shortcuts</h4>
              </div>
              <div class="modal-body row">
<div class="col-md-6">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>Global</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>s</kbd>
        </td>
        <td>Focus search bar</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>?</kbd>
        </td>
        <td>Bring up this help dialog</td>
      </tr>
    </tbody>
  </table>

  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>GitHub</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>p</kbd>
        </td>
        <td>Go to pull requests</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>i</kbd>
        </td>
        <td>go to github issues (only if github is preferred repository)</td>
      </tr>
    </tbody>
  </table>
</div>

<div class="col-md-6">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>POD</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>a</kbd>
        </td>
        <td>Go to author</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>c</kbd>
        </td>
        <td>Go to changes</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>i</kbd>
        </td>
        <td>Go to issues</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>d</kbd>
        </td>
        <td>Go to dist</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>r</kbd>
        </td>
        <td>Go to repository/SCM</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>s</kbd>
        </td>
        <td>Go to source</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>b</kbd>
        </td>
        <td>Go to file browse</td>
      </tr>

    </tbody>
  </table>
</div>

<div class="col-md-12">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>Search terms</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><em>module:</em> (e.g. <a href="https://metacpan.org/search?q=module%3APlugin">module:Plugin</a>)</td>
      </tr>
      <tr>
        <td><em>distribution:</em> (e.g. <a href="https://metacpan.org/search?q=distribution%3ADancer+auth">distribution:Dancer auth</a>)</td>
      </tr>
      <tr>
        <td><em>author:</em> (e.g. <a href="https://metacpan.org/search?q=author%3ASONGMU+Redis">author:SONGMU Redis</a>)</td>
      </tr>
      <tr>
        <td><em>version:</em> (e.g. <a href="https://metacpan.org/search?q=version%3A1.00">version:1.00</a>)</td>
      </tr>
    </tbody>
  </table>
</div>
              </div>
              <div class="modal-footer"></div>
            </div>
          </div>
        </div>
    </body>
</html>
